import { defineStore } from "pinia"
import { ref } from "vue"

export const User = defineStore('user', () => {
   const age = ref(10)

   const addAge = () => {
     age.value = age.value + 1
   }

   return { age, addAge }
})